894353f179d3cbcd629155513d050a9eb06f4e87
3 # Rebuild link tracking tables from scratch. This takes several
4 # hours, depending on the database size and server configuration.
6 if ( ! is_readable( "../LocalSettings.php" ) ) {
7 print "A copy of your installation's LocalSettings.php\n" .
8 "must exist in the source directory.\n";
13 include_once( "../LocalSettings.php" );
14 include_once( "../AdminSettings.php" );
16 include_once( "{$IP}/Setup.php" );
17 include_once( "./rebuildrecentchanges.inc" );
18 $wgTitle = Title
::newFromText( "Rebuild recent changes script" );
21 $wgDBuser = $wgDBadminuser;
22 $wgDBpassword = $wgDBadminpassword;
24 rebuildRecentChangesTablePass1();
25 rebuildRecentChangesTablePass2();